//point free
//Hello    World -> hello_world
const fp = require("loadsh/fp");

const f = fp.flowRight(fp.replace(/\s+/g, "_"), fp.toLower);

console.log(f("Hello    World"));
